# -*- coding: utf-8 -*-
'''
@Time    : 24-5-24 下午15:37
@Author  : zhangweihao
@File    : tasks.py
'''
from flask import Blueprint
from ext.flask_api import Api
from .views import *
api = Blueprint('abnormal_check', __name__)

API = Api(api, prefix='/abnormal_check', catch_all_404s=True)
API.add_resource(AIModelView,'/train')
API.add_resource(AbnormalPrivacyDataView,'/abnormal_privacy_data_list')
API.add_resource(AbnormalPrivacyDataAnalysisView,'/abnormal_privacy_data_analysis')